<div class="main-container">
    <h1 class="mat-display-1 detail-title h2-ohter-page">{{detail.title}}</h1>

    <div class="content" *ngIf = "detail.content">
        <div *ngFor="let item of detail.content">
            <p *ngIf = "item.type=='p'">{{item.txt}}</p>
            <img *ngIf = "item.type=='img'" src="{{item.url}}" class="img-content"/>
        <div>
    </div>
</div>
